import request from '@/utils/request'

// 查询签收增值税发票列表
export function listCheckininvoice(query) {
  return request({
    url: '/doc/checkininvoice/list',
    method: 'get',
    params: query
  })
}

// 查询签收增值税发票详细
export function getCheckininvoice(id) {
  return request({
    url: '/doc/checkininvoice/' + id,
    method: 'get'
  })
}

// 新增签收增值税发票
export function addCheckininvoice(data) {
  return request({
    url: '/doc/checkininvoice',
    method: 'post',
    data: data
  })
}

// 修改签收增值税发票
export function updateCheckininvoice(data) {
  return request({
    url: '/doc/checkininvoice',
    method: 'put',
    data: data
  })
}

// 删除签收增值税发票
export function delCheckininvoice(id) {
  return request({
    url: '/doc/checkininvoice/' + id,
    method: 'delete'
  })
}
